﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BotDetector.Core.Search;
using BotDetector.Core.Model;

namespace BotDetector.Tests
{
    [TestClass]
    public class BingSearchUnitTest
    {
        BingSearch bingSearch = new BingSearch();
        [TestMethod]
        public void Search_QuestionIsBiciclete_True()
        { 
            ResultItemList resultItem = bingSearch.Search("Biciclete");
            Assert.IsTrue(resultItem.Count > 30);
        }
    }
}
